package kr.parking.dao;

import java.util.List;
import java.util.Map;

import kr.parking.domain.ParkingCommand;


public interface ParkingDao {
	public List<ParkingCommand> list(Map<String,Object> map);
	public List<ParkingCommand> selectParkingList(Integer p_num);
	public int getRowCount(Map<String,Object> map);
	public int getAllCount(Map<String,Object> map);
	public void insert(ParkingCommand parking);
	public ParkingCommand selectParking(Integer p_num);
	public void update(ParkingCommand parking);
	public void delete(Integer p_num);
	public List<ParkingCommand> ownParkingList(Integer m_num);
	public List<ParkingCommand> managerParkingList(Integer m_pknum);
	public List<ParkingCommand> selectAllParking(Map<String,Object> map);
	public List<ParkingCommand> allParkingList();
	public void discount(Integer p_num);
	public void upcount(Integer p_num);
}
